package com.day21.Client;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class ClientDemo {
    public static void main(String[] args) throws IOException {
        Socket s =new Socket("192.168.1.66",10000);
        OutputStream os=s.getOutputStream();
        os.write("hello".getBytes());
        os.close();

    }
}
